package com.nhjf.common.util.tools;



import org.springframework.context.ApplicationContext;

public class SpringUtil {
	private static ApplicationContext applicationContext = null;

	public static void setCtx(ApplicationContext ctx) {
		if (applicationContext == null) {
			applicationContext = ctx;
		}
	}

	public static ApplicationContext getCtx() {
		return applicationContext;
	}
}
